package com.pointmi.model;

import java.util.Date;

import javax.validation.constraints.NotNull;


public class CartModel {

	@NotNull(message="Cart ID : Cannot be null")
	private int cartId;
	
	private int userId;
	
	private String cookieId;
	
	@NotNull(message="")
	private Date createdDate;
	
	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}
	
	public String getCookie() {
		return cookieId;
	}

	public void setCookie(String cookieId) {
		this.cookieId = cookieId;
	}

	public int getCartId() {
		return cartId;
	}

	public void setCartId(int cartId) {
		this.cartId = cartId;
	}

}
